package com.yonyou.iuap.shell.service.intf;


import java.util.List;

import com.yonyou.iuap.base.intf.IKmBaseService;
import com.yonyou.iuap.shell.entity.BdKnowledgeCategoryEntity;
import com.yonyou.iuap.shell.entity.exp.BdKnowledgeCategoryEntityVo;
import com.yonyou.iuap.shell.pub.ResultDto;

public interface IKnowledgeCategoryService extends IKmBaseService {
	
	 public abstract ResultDto deleteByPrimaryKey(String paramString);

	  public abstract ResultDto insert(BdKnowledgeCategoryEntity supplier);

	  public abstract ResultDto selectByPrimaryKey(String paramString);

	  public abstract ResultDto selectAll();

	  public abstract ResultDto updateByPrimaryKey(BdKnowledgeCategoryEntity supplier);

	  public abstract ResultDto selectByCondition(String paramString);

	  public abstract ResultDto countByCondition(String paramString);

	  public abstract ResultDto deleteByCondition(String paramString);


		/**
		 * 
		 * 添加 （匹配有值的字段）
		 * 
		 **/
	  ResultDto insertSelective(BdKnowledgeCategoryEntity supplier);

		/**
		 * 
		 * 修改 （匹配有值的字段）
		 * 
		 **/
	  ResultDto updateByPrimaryKeySelective(BdKnowledgeCategoryEntity supplier);
	  	
	  /**
	   * 通过id获取知识类别
	   * @param knowledgeCategory  知识类别id
	   * @return
	   */
	  public  BdKnowledgeCategoryEntity getKnowledgeCategoryById(String knowledgeCategory);

	  /**
	   * 获取所有知识类别
	   * @param knowledgeCategory  知识类别id
	   * @return
	   */
	  public  List<BdKnowledgeCategoryEntityVo> getAllKnowledgeCategory();
	  
	  /**
	   * 条件查询
	   * @param conditionParam   查询条件
	   * @return
	   */
	  public  List<BdKnowledgeCategoryEntity> getKnowledgeCategoryCondition(String conditionParam);
	  
	public abstract ResultDto deleteById(String knowledgeCategory);

	public abstract ResultDto insertCategory(BdKnowledgeCategoryEntityVo supplier);

	public ResultDto queryKnoledgeCateForTree();

	public abstract ResultDto updateByParamKey(BdKnowledgeCategoryEntityVo supplier);

	public abstract List<BdKnowledgeCategoryEntityVo> getAllKnowledgeCategoryRelation(
			String pk_knowledge_category);
	

}
